package ac.il.technion.cs236635.project.core.policy;

import java.util.List;

import ac.il.technion.cs236635.project.core.ServerJob;

public interface AcceptancePolicy {

	/**
	 * @param job - job to accept or to reject
	 * @param queue - the list to insert the job in accept case
	 * @return - the operation status <b>true</b> in case of accept <b>false</b>
	 * otherwise.
	 */
	public boolean accept( final ServerJob job, final List<ServerJob> queue);
}
